package com.vehicle.bean;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 校园车辆管理系统
 * @since 2023-04-20
 */
@Data
  @EqualsAndHashCode(callSuper = false)
    @ApiModel(value="Contact对象", description="")
public class Contact implements Serializable {

    private static final long serialVersionUID=1L;

      @ApiModelProperty(value = "紧急联系人id")
        @TableId(value = "contact_id", type = IdType.AUTO)
      private Integer contactId;

      @ApiModelProperty(value = "紧急联系人姓名")
      private String contactName;

      @ApiModelProperty(value = "紧急联系人电话")
      private Long contactPhone;

      @ApiModelProperty(value = "紧急联系人关系")
      private String contactRelation;

      @ApiModelProperty(value = "紧急联系人创建时间")
      @TableField(fill = FieldFill.INSERT)
      private LocalDateTime createTime;

      @ApiModelProperty(value = "紧急联系人修改时间")
      @TableField(fill = FieldFill.INSERT_UPDATE)
      private LocalDateTime updateTime;

      @ApiModelProperty(value = "紧急联系人是否删除（0为未删除，1为已删除）")
      @TableLogic
    private Integer deleted;


}
